<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h4 align="center">输入查询条件</h4>
	<form:form modelAttribute="contractSearch" action="${pageContext.request.contextPath }/contract/search" method="post" 
	style="width: 15%; margin: auto">
		销售员:<form:input path="salesMan"/><br>
		顾	客:<form:input path="customer"/><br>
		最早日期:<form:input path="preTime"/><br>
		最迟日期:<form:input path="lateTime"/><br>
		最低金额:<form:input path="minMoney"/><br>
		最高金额:<form:input path="maxMoney"/><br>
		状	 态:<form:input path="states"/><br>
		<input type="submit" value="查询">
	</form:form>
	<form action="${pageContext.request.contextPath }/contract/list" method="get" style="width: 15%; margin: auto">
		<input type="submit" value="返回">
	</form>
</body>
</html>